
import request from "@/utils/request";

export const findAll = function (data) {
  return request('/score/findAll', "post", data)
}
export const addScore = function (data) {
  return request('/score/add', "post", data)
}
export const editScore = function (data) {
  return request('/score/update', "post", data)
}
export const deleteScore = function (id) {
  return request('/score/delete', "get", { id })
}

export const getDifferentCourseCount = function () {
  return request('/score/getDifferentCourseCount', "get")
}
export const getScoreByStuNo = function (stuNo) {
  return request('/score/getScoreByStuNo', "get", { stuNo })
}
